<%-- 
    Document   : add_product_view
    Created on : Mar 14, 2014, 8:26:21 PM
    Author     : ahmed
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Update Product</title>
    </head>
    <body>
        <h1>Edit Product Information</h1>
        <% pojo.Mobile mobile = (pojo.Mobile) request.getAttribute("mobile");%>
        <form name="addproduct" action="UpdateProduct" method="post">
            <pre>
                name   : <input type="text" value="<%=mobile.getName()%>" name="name">
                company: <input type="text" value="<%=mobile.getCompany()%>" name="company">
                price  : <input type="text" value="<%=mobile.getPrice()%>" name="price">
                display: <input type="text" value="<%=mobile.getDisplaySize()%>" name="display">
                camera : <input type="text" value="<%=mobile.getCamera()%>" name="camera">
                


                <input type="submit" value="Update Product">     <input type="reset" value="reset  boxes">
      
            </pre>
        </form>
        
    </body>
</html>
